package com.dome.fastds.demofastds.ws;
/**
 * @author Administrator
 * @date 2021-12-28 13:52
 */

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 *@ClassName WebSocketConfig
 *@Description
 *@Author Administrator
 *@Date 2021/12/28 13:52
 *@Version 1.0
 */
@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}